import {
    HomeOutlined,
    PictureOutlined,
    NotificationOutlined,
    UsergroupDeleteOutlined,
    SwitcherOutlined
} from '@ant-design/icons';


const menus = [
    {title: '系统首页', path:'/home', key:'0-0', icon: <HomeOutlined/>},
    {title: '轮播图管理', 
        path:'/banner', 
        key:'0-1',
        icon: <PictureOutlined/>,
        children: [
            {title:'轮播图列表',path:'/banner/list',key:'0-1-0'},
            {title:'添加轮播图',path:'/banner/add',key:'0-1-1'},
        ]
    },
    {title: '首页数据管理', 
        path:'/homeData', 
        key:'0-2', 
        icon:<NotificationOutlined/>,
        children:[
            {title:'秒杀列表',path:'/homeData/skill',key:'0-2-0'},
            {title:'秒杀列表',path:'/homeData/recommend',key:'0-2-1'},
        ]
    },
    {title: '用户管理', 
        path:'/users', 
        key:'0-3', 
        icon:<UsergroupDeleteOutlined/>,
        children: [
            {title:'用户列表',path:'/users/list',key:'0-3-0'},
            {title:'管理员列表',path:'/users/adminList',key:'0-3-1'},
        ]
    },
    {title: '商品管理', 
        path:'/pro', 
        key:'0-4', 
        icon:<SwitcherOutlined/>,
        children:[
            {title:'商品列表',path:'/pro/list',key:'0-4-0'},
            {title:'筛选商品',path:'/pro/search',key:'0-4-1'},
        ]
    },
]

export default menus